<template>
  <div class="search-bar">
    <div class="search-bar__left">
      <van-image
        class="search-bar__left__scan"
        src="https://fast-learn-oss.youbaobao.xyz/tb/scan.png"
      >
      </van-image>
      <div class="search-bar__left__line" />
      <div class="search-bar__left__placeholder">微喇叭裤女</div>
    </div>

    <div class="search-bar__right">
      <van-image
        class="search-bar__right__camera"
        src="https://fast-learn-oss.youbaobao.xyz/tb/camera.png"
      />
      <van-button round class="search-bar__right__search">搜索</van-button>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style lang="less" scoped>
.search-bar {
  display: flex;
  height: 64px;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.02);
  border-radius: 32px;
  margin: 22px 24px 0 26px;
  align-items: center;
  justify-content: space-between;
  &__left {
    display: flex;
    justify-items: self-start;
    align-items: center;
    &__scan {
      width: 35px;
      height: 32px;
      margin-left: 19px;
    }
    &__line {
      width: 1px;
      height: 38px;
      margin-left: 9px;
      background-color: #eeeeee;
    }
    &__placeholder {
      margin-left: 9px;
      font-size: 26px;
    }
  }
  &__right {
    display: flex;
    justify-items: self-end;
    align-items: center;

    &__camera {
      width: 40px;
      height: 32px;
      margin-right: 18px;
    }
    &__search {
      width: 107px;
      height: 60px;
      color: #FFFFFF;
      background-image: linear-gradient(90deg, #fe8b0d 0%, #ff5201 100%);
      border-radius: 32px;
    }
  }
}
</style>
